<template>
  <view class="page">
    <!--		该页面主要用于自习室分享，本身没有任何内容-->
    <enterToStudyRoom ref="enterToStudyRoom" jump-behavior="redirectTo" @errorHandler="() => $uni.navigateBack()"></enterToStudyRoom>
  </view>
</template>

<script>
import enterToStudyRoom from "@/studyRoom/components/enterToStudyRoom/index.vue"

export default {
  components: { enterToStudyRoom },
  data() {
    return {
      studyRoomId: "",
    }
  },
  onLoad(options) {
    this.studyRoomId = options.studyRoomId
    this.$refs.enterToStudyRoom.enterToStudyRoom(this.studyRoomId)
  },
}
</script>

<style lang="scss" scoped>
.page {
}
</style>
